package org.lgiavedoni.android.franq.core.question.imp;

import lombok.Data;

import org.lgiavedoni.android.franq.core.message.MessageIn;
import org.lgiavedoni.android.franq.core.question.Question;
@Data
public class TextQuestion extends Question<String> {

	private final String text;

	@Override
	public String getQuestionText() {
		return text;
	}

	@Override
	public boolean process(MessageIn messageIn) {
		setResult(messageIn.getText());
		return true;
	}

	@Override
	public boolean equals(Question q) {
		return false;
	}

}
